#ifndef ChangeNotifyThread_H
#define ChangeNotifyThread_H

#include <windows.h>

//#include "changenotifydialog.h"
#include <QThread>


class ChangeNotifyThread : public QThread
{
    Q_OBJECT
public:
    explicit ChangeNotifyThread(QObject *parent, QString dir);
    void run();
    QString directory() const { return m_dir; }

signals:
    void updateDir(QString dir);

public slots:

private:
    QString m_dir;
    HANDLE m_handle;

};

#endif // ChangeNotifyThread_H
